home *** CD-ROM | disk | FTP | other *** search
/ MacHome 2001 January / MacHome Magazine Demo Disc January 2001.iso / mac / Software / Networking / InterMapper 3.0 - PPC.sea / InterMapper 3.0 - PPC / InterMapper™ 3.0-PPC / InterMapper™ 3.0-PPC.rsrc / PrTy_164_com.dartware.tcp.pop3 < prev    next >
Encoding:
Text File  |  2000-07-24  |  1.2 KB  |  52 lines

  1. <!-- 
  2.     POP3 (com.dartware.tcp.pop3)
  3.     Copyright © 2000 Dartware, LLC. All rights reserved.
  4. -->
  5.  
  6. <header>
  7.     type            =     "tcp-script"
  8.     package            =     "com.dartware"
  9.     probe_name        =    "tcp.pop3"
  10.     human_name        =    "POP3"
  11.     version            =     "1.1"
  12.     address_type    =     "IP"
  13.     port_number        =    "110"
  14.  
  15.     old_protocol    =     "8"            # Backward compat. with old numbering scheme.
  16.     old_script        =     "8004"
  17.  
  18. </header>
  19.  
  20. <description>
  21.  
  22. ≤GB≥Post Office Protocol Version 3≤P≥
  23.  
  24. The protocol used to access email messages from a central maildrop server, as defined in ≤U2≥RFC 1939≤P0≥.  The default TCP port number for POP3 connections is port 110.
  25.  
  26. This probe simply verifies that the server send "+OK" as its initial greeting, and then sends the QUIT command.
  27.  
  28. </description>
  29.  
  30. <parameters>
  31.  
  32. -- No parameters.
  33.  
  34. </parameters>
  35.  
  36. <script>
  37.  
  38. CONN #60 (connect timeout in secs)
  39. WAIT #30 @IDLE (idle timeout in secs)
  40. MTCH "+OK"i else goto @UNEXPECTED_GREETING
  41. SEND "QUIT\r\n"
  42. EXPT "+OK" #+1
  43. DONE OKAY
  44.  
  45. @UNEXPECTED_GREETING:
  46. DONE DOWN "[POP3] Unexpected greeting from port ${_REMOTEPORT}. (${_LINE:50})"
  47.  
  48. @IDLE:
  49. DONE DOWN "[POP3] No data for ${_IDLETIMEOUT} seconds.  Was expecting \"${_STRINGTOMATCH}\". [Line ${_IDLELINE}]"
  50.  
  51. </script>
  52.